package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_xz_notice" )
@Table( name ="t_xz_notice" )
public class Notice  implements Serializable {


	/**
	 * 消息公告表 id
	 */
	@Id
   	@Column(name = "notice_id",updatable = false )
	@ApiModelProperty( value="消息公告表 id")
	private Integer noticeId;

	/**
	 * 公告内容
	 */
   	@Column(name = "notice_content" )
	@ApiModelProperty( value="公告内容")
	private String noticeContent;

	/**
	 * 关联的id，主要针对于总公司向某一个推广构思发布时
	 */
   	@Column(name = "join_id" )
	@ApiModelProperty( value="关联的id，主要针对于总公司向某一个推广构思发布时")
	private String joinId;

	/**
	 * 面向的对象 -2为推广公司 -1为所有用户0为普通会员1为会员 2为推广员
	 */
   	@Column(name = "user_type" )
	@ApiModelProperty( value="面向的对象 -2为推广公司 -1为所有用户0为普通会员1为会员 2为推广员")
	private Integer userType;

	/**
	 * 0未发布 1已发布
	 */
   	@Column(name = "is_release" )
	@ApiModelProperty( value="0未发布 1已发布")
	private Integer isRelease;

	/**
	 * 公司id，总公司为0，否则为推广公司id
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="公司id，总公司为0，否则为推广公司id")
	private Integer companyId;

	/**
	 * 公告创建时间
	 */
   	@Column(name = "created_time" )
	@ApiModelProperty( value="公告创建时间")
	private String createdTime;

    /**
     * 公告创建时间
     */
   	@Column(name = "release_time" )
	@ApiModelProperty( value="展示时间")
	private String releaseTime;
    /**
     * 分公司审核
     */
    @Column(name = "company_review" )
    @ApiModelProperty( value="分公司审核")
    private Integer companyReview;
    /**
     * 主公司审核
     */
    @Column(name = "main_company_review" )
    @ApiModelProperty( value="主公司审核")
    private Integer mainCompanyReview;
    /**
     * 公告状态1审核通过
     */
    @Column(name = "notice_status" )
    @ApiModelProperty( value="公告状态1审核通过")
    private Integer noticeStatus;

  public Integer getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(Integer noticeId) {
    this.noticeId = noticeId;
  }


  public String getNoticeContent() {
    return noticeContent;
  }

  public void setNoticeContent(String noticeContent) {
    this.noticeContent = noticeContent;
  }


  public String getJoinId() {
    return joinId;
  }

  public void setJoinId(String joinId) {
    this.joinId = joinId;
  }


  public Integer getUserType() {
    return userType;
  }

  public void setUserType(Integer userType) {
    this.userType = userType;
  }


  public Integer getIsRelease() {
    return isRelease;
  }

  public void setIsRelease(Integer isRelease) {
    this.isRelease = isRelease;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }


  public String getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(String createdTime) {
    this.createdTime = createdTime;
  }


  public String getReleaseTime() {
    return releaseTime;
  }

  public void setReleaseTime(String releaseTime) {
    this.releaseTime = releaseTime;
  }


    public Integer getCompanyReview() {
        return companyReview;
    }

    public void setCompanyReview(Integer companyReview) {
        this.companyReview = companyReview;
    }

    public Integer getMainCompanyReview() {
        return mainCompanyReview;
    }

    public void setMainCompanyReview(Integer mainCompanyReview) {
        this.mainCompanyReview = mainCompanyReview;
    }

    public Integer getNoticeStatus() {
        return noticeStatus;
    }

    public void setNoticeStatus(Integer noticeStatus) {
        this.noticeStatus = noticeStatus;
    }
}
